Micron Document
🎖️GitЯра🎖️

Commit 27367e906487740687ec640dc4adc614fd5b6cef


Parents : 28be693
Author : James Rich <2199651+jamesarich@users.noreply.github.com>
Signature : Signature validation error
Date : 2026-04-13T18:32:00-05:00
Committer : GitHub <noreply@github.com>
Date : 2026-04-13T23:32:00Z

fix(build): pin Skiko version to align with Compose Multiplatform (#5117)

Changes
Diff

diff --git a/build-logic/convention/src/main/kotlin/org/meshtastic/buildlogic/KotlinAndroid.kt b/build-logic/convention/src/main/kotlin/org/meshtastic/buildlogic/KotlinAndroid.kt
index bcc6d02079..c7afeaf398 100644
--- a/build-logic/convention/src/main/kotlin/org/meshtastic/buildlogic/KotlinAndroid.kt
+++ b/build-logic/convention/src/main/kotlin/org/meshtastic/buildlogic/KotlinAndroid.kt
@@ -72,6 +72,21 @@ internal fun Project.configureKotlinAndroid(commonExtension: CommonExtension) {
/** Configure Kotlin Multiplatform options */
internal fun Project.configureKotlinMultiplatform() {
+ // Skiko is an internal CMP implementation detail; third-party KMP libraries
+ // (e.g. coil3) can carry an older skiko transitive requirement that Gradle
+ // upgrades to the CMP-bundled version, triggering a "Skiko dependencies'
+ // versions are incompatible" warning from CMP's compatibility checker.
+ // Force the version to match CMP so the checker sees a consistent graph.
+ val skikoVersion = libs.version("skiko")
+ configurations.configureEach {
+ resolutionStrategy.eachDependency {
+ if (requested.group == "org.jetbrains.skiko") {
+ useVersion(skikoVersion)
+ because("Align Skiko with the version bundled by Compose Multiplatform")
+ }
+ }
+ }
+
extensions.configure<KotlinMultiplatformExtension> {
// Standard KMP targets for Meshtastic
jvm()

diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 1ae3251880..230e6533f1 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -35,6 +35,11 @@ turbine = "1.2.1"
# Compose Multiplatform
compose-multiplatform = "1.11.0-beta02"
+# Skiko is an internal CMP implementation detail. Pin it to the version shipped by CMP to
+# silence the "Skiko dependencies' versions are incompatible" warning emitted when transitive
+# dependencies (e.g. coil3) carry an older skiko requirement that Gradle then upgrades to the
+# CMP-bundled version. Bump this together with compose-multiplatform.
+skiko = "0.144.5"
compose-multiplatform-material3 = "1.11.0-alpha06"
androidx-compose-material = "1.7.8"
jetbrains-adaptive = "1.3.0-alpha06"

Served by rngit 1.5.0 - Generated in 0.06s